"""
URL configuration for djangoproject project.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/5.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from user.views import adduser, login,addbookvue,deletebookvue,getbookinfovue
from user.views import showregisterhtml,getbookinfobycondition,updatebookvue
from user.views import getuserinfo,updatebook,cha,getbooklist,getpubishervue
from user.views import modifyuser,getbookcontent,getbookbycondition
from user.views import deleteuser,login,getpageuserinfo,addbook,getauthorbook,getbookauthor,groupbyselect, getpagebooklist


urlpatterns=[
    path('adduser/',adduser),
    path('getuserinfo/',getuserinfo),
    path('modifyuser/',modifyuser),
    path('showregisterhtml/', showregisterhtml),
    path('deleteuser/', deleteuser),
    path('login/', login),
    path('getpageuserinfo/', getpageuserinfo),
    path('addbook/', addbook),
    path('getauthorbook/', getauthorbook),
    path('getbookauthor/', getbookauthor),
    path('getbookcontent/', getbookcontent),
    path('getbookbycondition/', getbookbycondition),
    path('updatebook/', updatebook),
    path('getbookinfobycondition/', getbookinfobycondition),
    path('groupbyselect/', groupbyselect),
    path('cha/', cha),
    path('getpagebooklist/', getpagebooklist),
    path('addbookvue/', addbookvue),
    path('deletebookvue/<str:itemid>', deletebookvue),
    path('getbookinfovue/<str:itemid>', getbookinfovue),
    path('updatebookvue/<str:itemid>', updatebookvue),
    path('getpubishervue/', getpubishervue),
]



